﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001193 RID: 4499
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SetSpringRecoverConfigCsReq : IMessage<SetSpringRecoverConfigCsReq>, IMessage, IEquatable<SetSpringRecoverConfigCsReq>, IDeepCloneable<SetSpringRecoverConfigCsReq>, IBufferMessage
	{
		// Token: 0x170038EB RID: 14571
		// (get) Token: 0x0600C95D RID: 51549 RVA: 0x0021EBA3 File Offset: 0x0021CDA3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SetSpringRecoverConfigCsReq> Parser
		{
			get
			{
				return SetSpringRecoverConfigCsReq._parser;
			}
		}

		// Token: 0x170038EC RID: 14572
		// (get) Token: 0x0600C95E RID: 51550 RVA: 0x0021EBAA File Offset: 0x0021CDAA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SetSpringRecoverConfigCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170038ED RID: 14573
		// (get) Token: 0x0600C95F RID: 51551 RVA: 0x0021EBBC File Offset: 0x0021CDBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SetSpringRecoverConfigCsReq.Descriptor;
			}
		}

		// Token: 0x0600C960 RID: 51552 RVA: 0x0021EBC3 File Offset: 0x0021CDC3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetSpringRecoverConfigCsReq()
		{
		}

		// Token: 0x0600C961 RID: 51553 RVA: 0x0021EBCB File Offset: 0x0021CDCB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetSpringRecoverConfigCsReq(SetSpringRecoverConfigCsReq other) : this()
		{
			this.springRecoverConfig_ = ((other.springRecoverConfig_ != null) ? other.springRecoverConfig_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C962 RID: 51554 RVA: 0x0021EC00 File Offset: 0x0021CE00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetSpringRecoverConfigCsReq Clone()
		{
			return new SetSpringRecoverConfigCsReq(this);
		}

		// Token: 0x170038EE RID: 14574
		// (get) Token: 0x0600C963 RID: 51555 RVA: 0x0021EC08 File Offset: 0x0021CE08
		// (set) Token: 0x0600C964 RID: 51556 RVA: 0x0021EC10 File Offset: 0x0021CE10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SpringRecoverConfig SpringRecoverConfig
		{
			get
			{
				return this.springRecoverConfig_;
			}
			set
			{
				this.springRecoverConfig_ = value;
			}
		}

		// Token: 0x0600C965 RID: 51557 RVA: 0x0021EC19 File Offset: 0x0021CE19
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SetSpringRecoverConfigCsReq);
		}

		// Token: 0x0600C966 RID: 51558 RVA: 0x0021EC27 File Offset: 0x0021CE27
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SetSpringRecoverConfigCsReq other)
		{
			return other != null && (other == this || (object.Equals(this.SpringRecoverConfig, other.SpringRecoverConfig) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C967 RID: 51559 RVA: 0x0021EC5C File Offset: 0x0021CE5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.springRecoverConfig_ != null)
			{
				num ^= this.SpringRecoverConfig.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C968 RID: 51560 RVA: 0x0021EC98 File Offset: 0x0021CE98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C969 RID: 51561 RVA: 0x0021ECA0 File Offset: 0x0021CEA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C96A RID: 51562 RVA: 0x0021ECA9 File Offset: 0x0021CEA9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.springRecoverConfig_ != null)
			{
				output.WriteRawTag(10);
				output.WriteMessage(this.SpringRecoverConfig);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C96B RID: 51563 RVA: 0x0021ECDC File Offset: 0x0021CEDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.springRecoverConfig_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.SpringRecoverConfig);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C96C RID: 51564 RVA: 0x0021ED1C File Offset: 0x0021CF1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SetSpringRecoverConfigCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.springRecoverConfig_ != null)
			{
				if (this.springRecoverConfig_ == null)
				{
					this.SpringRecoverConfig = new SpringRecoverConfig();
				}
				this.SpringRecoverConfig.MergeFrom(other.SpringRecoverConfig);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C96D RID: 51565 RVA: 0x0021ED70 File Offset: 0x0021CF70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C96E RID: 51566 RVA: 0x0021ED7C File Offset: 0x0021CF7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 10U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.springRecoverConfig_ == null)
					{
						this.SpringRecoverConfig = new SpringRecoverConfig();
					}
					input.ReadMessage(this.SpringRecoverConfig);
				}
			}
		}

		// Token: 0x040050DA RID: 20698
		private static readonly MessageParser<SetSpringRecoverConfigCsReq> _parser = new MessageParser<SetSpringRecoverConfigCsReq>(() => new SetSpringRecoverConfigCsReq());

		// Token: 0x040050DB RID: 20699
		private UnknownFieldSet _unknownFields;

		// Token: 0x040050DC RID: 20700
		public const int SpringRecoverConfigFieldNumber = 1;

		// Token: 0x040050DD RID: 20701
		private SpringRecoverConfig springRecoverConfig_;
	}
}
